﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Web.Master" AutoEventWireup="true" CodeBehind="item.aspx.cs" Inherits="web.Products.item" %>

<%@ Register Src="~/ErrorControl.ascx" TagPrefix="uc1" TagName="ErrorControl" %>
<%@ Register TagPrefix="url" Namespace="ActionlessForm" Assembly="ActionlessForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_Content" runat="server">
    <%if (error)
      { %>
    <uc1:ErrorControl runat="server" ID="ErrorControl" />
    <%}
      else
      {%>
    <url:Form runat="server">
        <h1><%=info.Title %></h1>
        <h2>￥<%=info.Price.ToString("0.00") %></h2>
        <div>
            <%=info.Contents %>
        </div>
    </url:Form>
    <%} %>
</asp:Content>
